import sys
from PySide2.QtGui import *
from PySide2.QtCore import *
from PySide2.QtWidgets import *

class Test(QWidget):
    def __init__(self):
        super(Test, self).__init__()
        self.setWindowTitle('CG')
        self.setWindowTitle('窗口标题')  # 设置标题
        self.main_layout = QHBoxLayout()

        self.left_layout = QVBoxLayout()
        self.show_label = QLabel('ani')
        self.show_edit = QLineEdit()
        self.show_btn = QPushButton(u'打断曲线')
        self.show_check = QCheckBox(u'是否打断曲线0')
        self.show_check1 = QCheckBox(u'是否打断曲线1')
        self.show_radio = QRadioButton(u'是否0')
        self.show_radio1 = QRadioButton(u'是否1')
        self.show_tedit = QTextEdit()
        self.show_browser = QTextBrowser()

        self.left_layout.addWidget(self.show_label)
        self.left_layout.addWidget(self.show_edit)
        self.left_layout.addWidget(self.show_btn)
        self.left_layout.addWidget(self.show_check)
        self.left_layout.addWidget(self.show_check1)
        self.left_layout.addWidget(self.show_radio)
        self.left_layout.addWidget(self.show_radio1)
        self.left_layout.addWidget(self.show_tedit)
        self.left_layout.addWidget(self.show_browser)




        self.right_layout = QVBoxLayout()
        self.right_label = QLabel('rig')
        self.right_edit = QLineEdit()
        self.right_btn = QPushButton(u'创建骨骼')
        self.right_check = QCheckBox(u'是否创建骨骼')

        self.right_layout.addWidget(self.right_label)
        self.right_layout.addWidget(self.right_edit)
        self.right_layout.addWidget(self.right_btn)
        self.right_layout.addWidget(self.right_check)

        self.main_layout.addLayout(self.left_layout)
        self.main_layout.addLayout(self.right_layout)

        self.setLayout(self.main_layout)



if __name__ == '__main__':
    app = QApplication(sys.argv)
    t = Test()
    t.show()
    app.exec_()
    sys.exit()


